<?php
	include_once('header.php');
	include_once('menu.php');
	include_once('content.php');
?>

<p>Vítajte na stránke služobné cesty FMFI UK</p>
<?php

	$logged_in = $this->session->userdata('logged_in');
	if( !$logged_in ){
		echo "<h3>Login</h3>";
		echo form_open('auth/login', array('class'=>'jNice'));
		echo form_fieldset();
		echo '<p>'.form_label('Meno','meno');
		echo form_input('meno',set_value('meno','')).'</p>';
		
		echo '<p>'.form_label('Heslo','heslo');
		echo form_password('heslo',set_value('heslo','')).'</p>';
		
		echo form_submit('prihlas','Prihlásiť');
		echo form_fieldset_close();
	}
	
	echo form_close();

?>
<?php
	include_once('footer.php');
?>